projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b3e1bb1
)
GtkProgressBar: Mark the default text for translation
author
Matthias Clasen
<mclasen@redhat.com>
Fri, 22 Aug 2014 15:06:08 +0000
(11:06 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Tue, 30 Sep 2014 03:05:22 +0000
(23:05 -0400)
At the same time, use a small space before %.
This matches what is done in GtkCellRendererProgress.
https://bugzilla.gnome.org/show_bug.cgi?id=735192
gtk/gtkprogressbar.c
patch
|
blob
|
history
diff --git
a/gtk/gtkprogressbar.c
b/gtk/gtkprogressbar.c
index 84aeef995025a01e7a0d64c300ef7811d04276d2..784d54c3eb143d5b6989deb615e34f449ec9cd14 100644
(file)
--- a/
gtk/gtkprogressbar.c
+++ b/
gtk/gtkprogressbar.c
@@
-441,7
+441,7
@@
get_current_text (GtkProgressBar *pbar)
if (priv->text)
return g_strdup (priv->text);
else
- return g_strdup_printf (
"%.0f %%"
, priv->fraction * 100.0);
+ return g_strdup_printf (
C_("progress bar label", "%.0f %%")
, priv->fraction * 100.0);
}
static void